﻿//数组压栈
var PushArray = function (arraydata, e) {
    arraydata.push(e);
    e = null;
    return arraydata;
}
//数组出栈
var PopArray = function (arraydata, str) {
    for (var i = 0; i < arraydata.length; i++) {
        if (arraydata[i].MenuID == str)
            arraydata.splice(i, 1)
    }
    return arraydata;
}
